package com.eastfair.venueservice.dao;

import com.eastfair.boot.mapper.SuperMapper;
import com.eastfair.venueservice.dto.ExhibitionSettlementDTO;
import com.eastfair.venueservice.entity.ExhibitionSettlement;

import com.eastfair.venueservice.vo.ExhibitionSettlementDetailVO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * 结算记录
 * </p>
 *
 * @author linan
 * @date 2023-01-10
 */
@Repository
public interface ExhibitionSettlementMapper extends SuperMapper<ExhibitionSettlement> {

    /**
     * 查询服务商订单下服务
     * @param query
     * @return
     */
    List<ExhibitionSettlementDetailVO> queryExhibitionSettlementDetail(ExhibitionSettlementDTO query);

    /**
     * 查询工单下的服务明细
     * @param query
     * @return
     */
    List<ExhibitionSettlementDetailVO> queryExhibitionSettlementDetailOfMatching(ExhibitionSettlementDTO query);

    /**
     * 查询报馆的服务
     * @param query
     * @return
     */
    List<ExhibitionSettlementDetailVO> queryExhibitionSettlementDetailOfReport(ExhibitionSettlementDTO query);

    /**
     * 查询搭建商的服务明细
     * @param query
     * @return
     */
    List<ExhibitionSettlementDetailVO> queryExhibitionSettlementDetailOfBuilder(ExhibitionSettlementDTO query);
}
